<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
  export default {
    name: 'App',
    updated(){
      if(document.getElementsByClassName('pageView').length>0) {
        document.getElementsByClassName('pageView')[0].scrollTop = 0;
      }
    }
  }
</script>

<style lang="scss">
  #app {
    height: 100%;
  }
</style>
